Tripzzy\Core\Helpers\TripDates C

Total Complexity 107
Dependencies 6
Dependents 1
Total lines 867
Lines of code 504
Logical lines of code 357
Comment lines 264
Methods 20
Properties 12

Methods 20

Method Rating Maintainability Complexity Lines of code
get_recurring_trip_dates()
C
29
27 131
set_recurring_departure_months()
B
39 17 58
get_fixed_trip_dates()
A
39 10 63
__construct()
S
49 6 31
get_data()
S
53 6 26
compare()
S
58 6 16
sort_multi_dim_desc()
S
51 4 29
sort_desc()
S
54 4 23
delete_transient()
S
62 4 11
get_dates()
S
56 3 19
set_data()
S
56 3 18
set_fixed_departure_months()
S
59 3 14
sort_asc()
S
61 2 14
sort_multi_dim_asc()
S
60 2 14
set_departure_months()
S
69 2 7
set_trip_dates()
S
67 2 8
departure_months()
S
69 2 7
transient_key()
S
69 2 7
render()
S
74 1 4
format()
S
75 1 4